<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>
	<title><?php echo $route;?></title>
	
	<link rel="stylesheet" href="<?php echo base_url();?>css/layout.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="<?php echo base_url();?>css/jquery-ui.css" type="text/css" media="screen" />
	<!--[if lt IE 9]>
	<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" />
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<script src="<?php echo base_url();?>js/jquery.min.js" type="text/javascript"></script>
	<script src="<?php echo base_url();?>js/jquery-ui.js" type="text/javascript"></script>
	<script src="<?php echo base_url();?>js/hideshow.js" type="text/javascript"></script>
	<script src="<?php echo base_url();?>js/jquery.tablesorter.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="<?php echo base_url();?>js/jquery.equalHeight.js"></script>
	<script type="text/javascript">
	$(document).ready(function() {
		//When page loads...
		$(".tab_content").hide(); //Hide all content
		$("ul.tabs li:first").addClass("active").show(); //Activate first tab
		$(".tab_content:first").show(); //Show first tab content
	
		//On Click Event
		$("ul.tabs li").click(function() {
	
			$("ul.tabs li").removeClass("active"); //Remove any "active" class
			$(this).addClass("active"); //Add "active" class to selected tab
			$(".tab_content").hide(); //Hide all tab content
	
			var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
			$(activeTab).fadeIn(); //Fade in the active ID content
			return false;
		});
	
	});
    </script>
    <script type="text/javascript">
    $(function(){
        $('.column').equalHeight();
    });
</script>

</head>
<body style="width: 500px;margin: auto;">
	<section id="main" class="column" style="width: 480px; margin:auto; background-image: none;">
		<?php if ($error!=''){?>
		<h4 class="alert_error"><?php echo $error;?></h4>
		<?php }?>
		<form action="<?php echo base_url();?>/index.php/admin/home/login" method="POST" id="login-form">
		<article class="module width_full" style="margin-bottom: 20px;">
			<header><h3>Login</h3></header>
			<div class="module_content">
				<fieldset>
					<label>Email</label>
					<input type="text" name="email" value="<?php echo $email;?>" style="width:40%;">
				</fieldset>
				<div class="clear"></div>
				<fieldset>
					<label>Password</label>
					<input type="password" name="password" value="" style="width:40%;">
				</fieldset>
			</div>
			<footer>
				<div class="submit_link">
					<input type="submit" value="Login" class="alt_btn">
					<input type="reset" value="Clear">
				</div>
			</footer>
		</article>
		</form>
	</section>
</body>
</html>